<template>
	<view>
		<view class="notice-bar">
			<image src="http://jiaoyukehu.oss-cn-beijing.aliyuncs.com/static/nursery/index/notice.png" mode="" class="logo"></image>
			<text class="text">此处为上下滚动新闻</text>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.notice-bar{
		width: mp-sizing(345);
		display: flex;
		align-items: center;
		margin: mp-sizing(10) 0;
		padding: mp-sizing(10);
		background-color: $uni-bg-color;
		margin: auto;
		border-radius: mp-sizing(10);
		box-sizing: border-box;
		.logo{
			flex-basis: 10%;
			width: mp-sizing(30);
			height: mp-sizing(30);
		}
		.text{
			flex-basis: 90%;
			margin-left: mp-sizing(15);
			overflow: hidden;
		}
	}
</style>